<script type="text/javascript">
	//Js for datePicker
	$('#birthdate').datepicker({
	
		format:'Y-m-d',
		changeMonth: true,
		changeYear: true,
		date: $('#birthdate').val(),
		current: $('#birthdate').val(),
		starts: 1,
		position: 'bottom',
		onBeforeShow: function(){
			$('#birthdate').DatePickerSetDate($('#birthdate').val(), true);
		},
		onChange: function(formated, dates){
			$('#birthdate').val(formated);
		}
	});
</script>